package cn.percent.config;

import cn.percent.cache.Cache;

public class MappedStatement {
    private String id;

    private String resultType;

    private String paramterType;

    private String sql;

    private Boolean useCache;

    private Boolean flushCache = true;

    public Boolean getFlushCache() {
        return flushCache;
    }

    public void setFlushCache(Boolean fluashCache) {
        this.flushCache = fluashCache;
    }

    public Boolean getUseCache() {
        return useCache;
    }

    public void setUseCache(Boolean useCache) {
        this.useCache = useCache;
    }

    private Cache cache;

    public Cache getCache() {
        return cache;
    }

    public void setCache(Cache cache) {
        this.cache = cache;
    }

    public String getResultType() {
        return resultType;
    }

    public void setResultType(String resultType) {
        this.resultType = resultType;
    }

    public String getParamterType() {
        return paramterType;
    }

    public void setParamterType(String paramterType) {
        this.paramterType = paramterType;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
